home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 51
/
Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso
/
-serious-
/
hardware
/
mccontrol
/
modules
/
empty_mcm.asm
< prev
next >
Wrap
Assembly Source File
|
2000-01-27
|
2KB
|
86 lines
;----------------------------------------------------------------------------
; Empty.mcm by Guido Mersmann
;----------------------------------------------------------------------------
include "Include.i"
;include "SRC.MC_ModuleInclude"
output Sourcecodes:MCControl/Modules/Empty.mcm
opt o+,w-
;----------------------------------------------------------------------------
Version = 1
Revision = 2
Day = 19
Month = 10
Year = 99
;----------------------------------------------------------------------------
;--- Macros
Version_String MACRO
dc.b "$VER: ",\1,' \<Version>.\<Revision>'," (\<Day>.\<Month>.\<Year>) ",'\2',0
ENDM
;----------------------------------------------------------------------------
;--- Your defines
;----------------------------------------------------------------------------
RSSET Module_SIZEOF
;--- User Data
Module_UserData rs.b 0
;--- Insert Userdata here!
Module_UserData_End rs.b 0
;----------------------------------------------------------------------------
;----------------------------------------------------------------------------
JModule_Code rts
JModule_Version dc.w 1
JModule_ID dc.l Module_Identifier
JModule_Flags dc.l 0 ;(ModuleF_xxxx)
JModule_Exec_Base dc.l 0 ;Filled by MCControl
JModule_Dos_Base dc.l 0 ;Filled by MCControl
JModule_Intuition_Base dc.l 0 ;Filled by MCControl
;--- Card Data
JModule_DelayReadByte dc.l 0 ;Filled by MCControl
JModule_DelayReadBit dc.l 0 ;Filled by MCControl
JModule_DelayWriteByte dc.l 0 ;Filled by MCControl
JModule_DelayWriteBit dc.l 0 ;Filled by MCControl
ds.l 10 ;reserved
;--- Jump Table
JModule_Delay ds.w 3 ;Delay
bra JModule_Open
nop
bra JModule_Close
nop
bra JModule_FrameOpen
nop
bra JModule_FrameClose
nop
bra JModule_ReadCommand
nop
bra JModule_WriteCommand
nop
bra JModule_PADOpen
nop
bra JModule_PADClose
nop
bra JModule_PADCommand
nop
bra JModule_DirectFrame
nop
bra JModule_DirectPage
nop
ds.w 3*8 ;reserved
ds.b Module_UserData_End-Module_UserData
Version_String "Empty.mcm",<by Guido Mersmann>
even
;----------------------------------------------------------------------------
JModule_Open
JModule_Close
JModule_FrameOpen
JModule_FrameClose
JModule_ReadCommand
JModule_WriteCommand
JModule_PADOpen
JModule_PADClose
JModule_PADCommand
JModule_DirectFrame
JModule_DirectPage
moveq #Module_Error_NoError,d0
rts